home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161b.iso / handson / archive / Issue147 / Delphi files / pcplus.147.handson.delphi.files.exe / errordlgunit.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1998-09-23  |  494 b   |  33 lines

  1. unit errordlgunit;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls;
  8.  
  9. type
  10.   TErrorDlg = class(TForm)
  11.     Button1: TButton;
  12.     ErrMemo: TMemo;
  13.     procedure Button1Click(Sender: TObject);
  14.   private
  15.     { Private declarations }
  16.   public
  17.     { Public declarations }
  18.   end;
  19.  
  20. var
  21.   ErrorDlg: TErrorDlg;
  22.  
  23. implementation
  24.  
  25. {$R *.DFM}
  26.  
  27. procedure TErrorDlg.Button1Click(Sender: TObject);
  28. begin
  29.    Close;
  30. end;
  31.  
  32. end.
  33.